<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数组</title>
    <script>
        var arr=[1,2,3,4,5,6,7,8,9,10];
        for(var i=0;i<=20;i++) {
            arr[i]=Math.random()*20
            document.write(Math.pow(arr[i],10)+"<br>");
        }
    </script>
</head>
<body>
    
</body>
</html>